﻿
namespace NetROS.Tiers.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.Dokument"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class DokumentEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the ID property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxID;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ID property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDLabel;
		
		/// <summary>
		/// ComboBox for the IDDokumentTip property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDDokumentTip;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDDokumentTip property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDDokumentTipLabel;
		
		/// <summary>
		/// TextBox for the Oznaka property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxOznaka;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Oznaka property.
		/// </summary>
		protected System.Windows.Forms.Label uxOznakaLabel;
		
		/// <summary>
		/// DataTimePicker for the Datum property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatum;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Datum property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumLabel;
		
		/// <summary>
		/// DataTimePicker for the DatumDo property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatumDo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DatumDo property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumDoLabel;
		
		/// <summary>
		/// TextBox for the Napomena property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxNapomena;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Napomena property.
		/// </summary>
		protected System.Windows.Forms.Label uxNapomenaLabel;
		
		/// <summary>
		/// TextBox for the Napomena2 property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxNapomena2;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Napomena2 property.
		/// </summary>
		protected System.Windows.Forms.Label uxNapomena2Label;
		
		/// <summary>
		/// ComboBox for the IDKlijent property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDKlijent;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDKlijent property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDKlijentLabel;
		
		/// <summary>
		/// ComboBox for the IDOrganizacijaOd property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDOrganizacijaOd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDOrganizacijaOd property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDOrganizacijaOdLabel;
		
		/// <summary>
		/// ComboBox for the IDOrganizacijaPrema property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDOrganizacijaPrema;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDOrganizacijaPrema property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDOrganizacijaPremaLabel;
		
		/// <summary>
		/// ComboBox for the IDNacinTransporta property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDNacinTransporta;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDNacinTransporta property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDNacinTransportaLabel;
		
		/// <summary>
		/// ComboBox for the IDNacinPlacanja property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDNacinPlacanja;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDNacinPlacanja property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDNacinPlacanjaLabel;
		
		/// <summary>
		/// TextBox for the IDUserCreated property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDUserCreated;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserCreated property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserCreatedLabel;
		
		/// <summary>
		/// TextBox for the IDUserModified property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDUserModified;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserModified property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserModifiedLabel;
		
		/// <summary>
		/// DataTimePicker for the DateCreated property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDateCreated;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DateCreated property.
		/// </summary>
		protected System.Windows.Forms.Label uxDateCreatedLabel;
		
		/// <summary>
		/// DataTimePicker for the DateModified property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDateModified;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DateModified property.
		/// </summary>
		protected System.Windows.Forms.Label uxDateModifiedLabel;
		
		/// <summary>
		/// ComboBox for the IDUserIzdao property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDUserIzdao;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserIzdao property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserIzdaoLabel;
		
		/// <summary>
		/// ComboBox for the IDUserPrimio property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDUserPrimio;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserPrimio property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserPrimioLabel;
		
		/// <summary>
		/// TextBox for the RedBr property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxRedBr;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the RedBr property.
		/// </summary>
		protected System.Windows.Forms.Label uxRedBrLabel;
		
		/// <summary>
		/// TextBox for the NabavnaVrijednost property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxNabavnaVrijednost;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NabavnaVrijednost property.
		/// </summary>
		protected System.Windows.Forms.Label uxNabavnaVrijednostLabel;
		
		/// <summary>
		/// TextBox for the PorezNabavneVrijednosti property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxPorezNabavneVrijednosti;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the PorezNabavneVrijednosti property.
		/// </summary>
		protected System.Windows.Forms.Label uxPorezNabavneVrijednostiLabel;
		
		/// <summary>
		/// TextBox for the IDStatus property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDStatus;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDStatus property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDStatusLabel;
		
		/// <summary>
		/// ComboBox for the IDValute property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDValute;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDValute property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDValuteLabel;
		
		/// <summary>
		/// TextBox for the VezaDokumenta property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxVezaDokumenta;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the VezaDokumenta property.
		/// </summary>
		protected System.Windows.Forms.Label uxVezaDokumentaLabel;
		
		/// <summary>
		/// ComboBox for the IDOrganizacijaZiroRacun property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDOrganizacijaZiroRacun;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDOrganizacijaZiroRacun property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDOrganizacijaZiroRacunLabel;
		
		/// <summary>
		/// TextBox for the DokumentMijenjaCijenu property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDokumentMijenjaCijenu;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DokumentMijenjaCijenu property.
		/// </summary>
		protected System.Windows.Forms.Label uxDokumentMijenjaCijenuLabel;
		#endregion
		
		#region Main entity
		private Entities.Dokument _Dokument;
		/// <summary>
		/// Gets or sets the <see cref="Entities.Dokument"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.Dokument"/> instance.</value>
		public Entities.Dokument Dokument
		{
			get {return this._Dokument;}
			set
			{
				this._Dokument = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxID.DataBindings.Clear();
			this.uxID.DataBindings.Add("Text", this.uxBindingSource, "ID", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDDokumentTip.DataBindings.Clear();
			this.uxIDDokumentTip.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDDokumentTip", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxOznaka.DataBindings.Clear();
			this.uxOznaka.DataBindings.Add("Text", this.uxBindingSource, "Oznaka", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatum.DataBindings.Clear();
			this.uxDatum.DataBindings.Add("Value", this.uxBindingSource, "Datum", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatumDo.DataBindings.Clear();
			this.uxDatumDo.DataBindings.Add("Value", this.uxBindingSource, "DatumDo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNapomena.DataBindings.Clear();
			this.uxNapomena.DataBindings.Add("Text", this.uxBindingSource, "Napomena", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNapomena2.DataBindings.Clear();
			this.uxNapomena2.DataBindings.Add("Text", this.uxBindingSource, "Napomena2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDKlijent.DataBindings.Clear();
			this.uxIDKlijent.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDKlijent", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDOrganizacijaOd.DataBindings.Clear();
			this.uxIDOrganizacijaOd.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDOrganizacijaOd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDOrganizacijaPrema.DataBindings.Clear();
			this.uxIDOrganizacijaPrema.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDOrganizacijaPrema", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDNacinTransporta.DataBindings.Clear();
			this.uxIDNacinTransporta.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDNacinTransporta", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDNacinPlacanja.DataBindings.Clear();
			this.uxIDNacinPlacanja.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDNacinPlacanja", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserCreated.DataBindings.Clear();
			this.uxIDUserCreated.DataBindings.Add("Text", this.uxBindingSource, "IDUserCreated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserModified.DataBindings.Clear();
			this.uxIDUserModified.DataBindings.Add("Text", this.uxBindingSource, "IDUserModified", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDateCreated.DataBindings.Clear();
			this.uxDateCreated.DataBindings.Add("Value", this.uxBindingSource, "DateCreated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDateModified.DataBindings.Clear();
			this.uxDateModified.DataBindings.Add("Value", this.uxBindingSource, "DateModified", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserIzdao.DataBindings.Clear();
			this.uxIDUserIzdao.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDUserIzdao", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserPrimio.DataBindings.Clear();
			this.uxIDUserPrimio.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDUserPrimio", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxRedBr.DataBindings.Clear();
			this.uxRedBr.DataBindings.Add("Text", this.uxBindingSource, "RedBr", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNabavnaVrijednost.DataBindings.Clear();
			this.uxNabavnaVrijednost.DataBindings.Add("Text", this.uxBindingSource, "NabavnaVrijednost", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxPorezNabavneVrijednosti.DataBindings.Clear();
			this.uxPorezNabavneVrijednosti.DataBindings.Add("Text", this.uxBindingSource, "PorezNabavneVrijednosti", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDStatus.DataBindings.Clear();
			this.uxIDStatus.DataBindings.Add("Text", this.uxBindingSource, "IDStatus", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDValute.DataBindings.Clear();
			this.uxIDValute.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDValute", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxVezaDokumenta.DataBindings.Clear();
			this.uxVezaDokumenta.DataBindings.Add("Text", this.uxBindingSource, "VezaDokumenta", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDOrganizacijaZiroRacun.DataBindings.Clear();
			this.uxIDOrganizacijaZiroRacun.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDOrganizacijaZiroRacun", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDokumentMijenjaCijenu.DataBindings.Clear();
			this.uxDokumentMijenjaCijenu.DataBindings.Add("Text", this.uxBindingSource, "DokumentMijenjaCijenu", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="DokumentEditControlBase"/> class.
		/// </summary>
		public DokumentEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_Dokument != null) _Dokument.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxID = new System.Windows.Forms.TextBox();
			uxIDLabel = new System.Windows.Forms.Label();
			this.uxIDDokumentTip = new System.Windows.Forms.ComboBox();
			uxIDDokumentTipLabel = new System.Windows.Forms.Label();
			this.uxOznaka = new System.Windows.Forms.TextBox();
			uxOznakaLabel = new System.Windows.Forms.Label();
			this.uxDatum = new System.Windows.Forms.DateTimePicker();
			uxDatumLabel = new System.Windows.Forms.Label();
			this.uxDatumDo = new System.Windows.Forms.DateTimePicker();
			uxDatumDoLabel = new System.Windows.Forms.Label();
			this.uxNapomena = new System.Windows.Forms.TextBox();
			uxNapomenaLabel = new System.Windows.Forms.Label();
			this.uxNapomena2 = new System.Windows.Forms.TextBox();
			uxNapomena2Label = new System.Windows.Forms.Label();
			this.uxIDKlijent = new System.Windows.Forms.ComboBox();
			uxIDKlijentLabel = new System.Windows.Forms.Label();
			this.uxIDOrganizacijaOd = new System.Windows.Forms.ComboBox();
			uxIDOrganizacijaOdLabel = new System.Windows.Forms.Label();
			this.uxIDOrganizacijaPrema = new System.Windows.Forms.ComboBox();
			uxIDOrganizacijaPremaLabel = new System.Windows.Forms.Label();
			this.uxIDNacinTransporta = new System.Windows.Forms.ComboBox();
			uxIDNacinTransportaLabel = new System.Windows.Forms.Label();
			this.uxIDNacinPlacanja = new System.Windows.Forms.ComboBox();
			uxIDNacinPlacanjaLabel = new System.Windows.Forms.Label();
			this.uxIDUserCreated = new System.Windows.Forms.TextBox();
			uxIDUserCreatedLabel = new System.Windows.Forms.Label();
			this.uxIDUserModified = new System.Windows.Forms.TextBox();
			uxIDUserModifiedLabel = new System.Windows.Forms.Label();
			this.uxDateCreated = new System.Windows.Forms.DateTimePicker();
			uxDateCreatedLabel = new System.Windows.Forms.Label();
			this.uxDateModified = new System.Windows.Forms.DateTimePicker();
			uxDateModifiedLabel = new System.Windows.Forms.Label();
			this.uxIDUserIzdao = new System.Windows.Forms.ComboBox();
			uxIDUserIzdaoLabel = new System.Windows.Forms.Label();
			this.uxIDUserPrimio = new System.Windows.Forms.ComboBox();
			uxIDUserPrimioLabel = new System.Windows.Forms.Label();
			this.uxRedBr = new System.Windows.Forms.TextBox();
			uxRedBrLabel = new System.Windows.Forms.Label();
			this.uxNabavnaVrijednost = new System.Windows.Forms.TextBox();
			uxNabavnaVrijednostLabel = new System.Windows.Forms.Label();
			this.uxPorezNabavneVrijednosti = new System.Windows.Forms.TextBox();
			uxPorezNabavneVrijednostiLabel = new System.Windows.Forms.Label();
			this.uxIDStatus = new System.Windows.Forms.TextBox();
			uxIDStatusLabel = new System.Windows.Forms.Label();
			this.uxIDValute = new System.Windows.Forms.ComboBox();
			uxIDValuteLabel = new System.Windows.Forms.Label();
			this.uxVezaDokumenta = new System.Windows.Forms.TextBox();
			uxVezaDokumentaLabel = new System.Windows.Forms.Label();
			this.uxIDOrganizacijaZiroRacun = new System.Windows.Forms.ComboBox();
			uxIDOrganizacijaZiroRacunLabel = new System.Windows.Forms.Label();
			this.uxDokumentMijenjaCijenu = new System.Windows.Forms.TextBox();
			uxDokumentMijenjaCijenuLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIDLabel
			//
			this.uxIDLabel.Text = "ID:";
			this.uxIDLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIDLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDLabel);			
			//
			// uxID
			//
			this.uxID.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxID);
			this.uxID.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxID);
			//
			// uxIDDokumentTipLabel
			//
			this.uxIDDokumentTipLabel.Text = "IDDokumentTip:";
			this.uxIDDokumentTipLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxIDDokumentTipLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDDokumentTipLabel);			
			//
			// uxIDDokumentTip
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDDokumentTip);
			this.uxIDDokumentTip.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxIDDokumentTip);
			//
			// uxOznakaLabel
			//
			this.uxOznakaLabel.Text = "Oznaka:";
			this.uxOznakaLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxOznakaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxOznakaLabel);			
			//
			// uxOznaka
			//
			this.uxOznaka.Width = 250;
			this.uxOznaka.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxOznaka);
			this.uxOznaka.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxOznaka);
			//
			// uxDatumLabel
			//
			this.uxDatumLabel.Text = "Datum:";
			this.uxDatumLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxDatumLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumLabel);			
			//
			// uxDatum
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatum);
			this.uxDatum.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxDatum);
			//
			// uxDatumDoLabel
			//
			this.uxDatumDoLabel.Text = "DatumDo:";
			this.uxDatumDoLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxDatumDoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumDoLabel);			
			//
			// uxDatumDo
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumDo);
			this.uxDatumDo.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxDatumDo);
			//
			// uxNapomenaLabel
			//
			this.uxNapomenaLabel.Text = "Napomena:";
			this.uxNapomenaLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxNapomenaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNapomenaLabel);			
			//
			// uxNapomena
			//
			this.uxNapomena.Width = 250;
			this.uxNapomena.MaxLength = 300;
			//this.uxTableLayoutPanel.Controls.Add(this.uxNapomena);
			this.uxNapomena.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxNapomena);
			//
			// uxNapomena2Label
			//
			this.uxNapomena2Label.Text = "Napomena2:";
			this.uxNapomena2Label.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxNapomena2Label);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNapomena2Label);			
			//
			// uxNapomena2
			//
			this.uxNapomena2.Width = 250;
			this.uxNapomena2.MaxLength = 300;
			//this.uxTableLayoutPanel.Controls.Add(this.uxNapomena2);
			this.uxNapomena2.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxNapomena2);
			//
			// uxIDKlijentLabel
			//
			this.uxIDKlijentLabel.Text = "IDKlijent:";
			this.uxIDKlijentLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxIDKlijentLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKlijentLabel);			
			//
			// uxIDKlijent
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKlijent);
			this.uxIDKlijent.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxIDKlijent);
			//
			// uxIDOrganizacijaOdLabel
			//
			this.uxIDOrganizacijaOdLabel.Text = "IDOrganizacijaOd:";
			this.uxIDOrganizacijaOdLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxIDOrganizacijaOdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaOdLabel);			
			//
			// uxIDOrganizacijaOd
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaOd);
			this.uxIDOrganizacijaOd.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxIDOrganizacijaOd);
			//
			// uxIDOrganizacijaPremaLabel
			//
			this.uxIDOrganizacijaPremaLabel.Text = "IDOrganizacijaPrema:";
			this.uxIDOrganizacijaPremaLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxIDOrganizacijaPremaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaPremaLabel);			
			//
			// uxIDOrganizacijaPrema
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaPrema);
			this.uxIDOrganizacijaPrema.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxIDOrganizacijaPrema);
			//
			// uxIDNacinTransportaLabel
			//
			this.uxIDNacinTransportaLabel.Text = "IDNacinTransporta:";
			this.uxIDNacinTransportaLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxIDNacinTransportaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNacinTransportaLabel);			
			//
			// uxIDNacinTransporta
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNacinTransporta);
			this.uxIDNacinTransporta.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxIDNacinTransporta);
			//
			// uxIDNacinPlacanjaLabel
			//
			this.uxIDNacinPlacanjaLabel.Text = "IDNacinPlacanja:";
			this.uxIDNacinPlacanjaLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxIDNacinPlacanjaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNacinPlacanjaLabel);			
			//
			// uxIDNacinPlacanja
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNacinPlacanja);
			this.uxIDNacinPlacanja.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxIDNacinPlacanja);
			//
			// uxIDUserCreatedLabel
			//
			this.uxIDUserCreatedLabel.Text = "IDUserCreated:";
			this.uxIDUserCreatedLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxIDUserCreatedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserCreatedLabel);			
			//
			// uxIDUserCreated
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserCreated);
			this.uxIDUserCreated.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxIDUserCreated);
			//
			// uxIDUserModifiedLabel
			//
			this.uxIDUserModifiedLabel.Text = "IDUserModified:";
			this.uxIDUserModifiedLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxIDUserModifiedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserModifiedLabel);			
			//
			// uxIDUserModified
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserModified);
			this.uxIDUserModified.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxIDUserModified);
			//
			// uxDateCreatedLabel
			//
			this.uxDateCreatedLabel.Text = "DateCreated:";
			this.uxDateCreatedLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxDateCreatedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateCreatedLabel);			
			//
			// uxDateCreated
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateCreated);
			this.uxDateCreated.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxDateCreated);
			//
			// uxDateModifiedLabel
			//
			this.uxDateModifiedLabel.Text = "DateModified:";
			this.uxDateModifiedLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxDateModifiedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateModifiedLabel);			
			//
			// uxDateModified
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateModified);
			this.uxDateModified.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxDateModified);
			//
			// uxIDUserIzdaoLabel
			//
			this.uxIDUserIzdaoLabel.Text = "IDUserIzdao:";
			this.uxIDUserIzdaoLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxIDUserIzdaoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserIzdaoLabel);			
			//
			// uxIDUserIzdao
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserIzdao);
			this.uxIDUserIzdao.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxIDUserIzdao);
			//
			// uxIDUserPrimioLabel
			//
			this.uxIDUserPrimioLabel.Text = "IDUserPrimio:";
			this.uxIDUserPrimioLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxIDUserPrimioLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserPrimioLabel);			
			//
			// uxIDUserPrimio
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserPrimio);
			this.uxIDUserPrimio.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxIDUserPrimio);
			//
			// uxRedBrLabel
			//
			this.uxRedBrLabel.Text = "RedBr:";
			this.uxRedBrLabel.Location = new System.Drawing.Point(3, 468);
			this.Controls.Add(this.uxRedBrLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxRedBrLabel);			
			//
			// uxRedBr
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxRedBr);
			this.uxRedBr.Location = new System.Drawing.Point(160, 468);
			this.Controls.Add(this.uxRedBr);
			//
			// uxNabavnaVrijednostLabel
			//
			this.uxNabavnaVrijednostLabel.Text = "NabavnaVrijednost:";
			this.uxNabavnaVrijednostLabel.Location = new System.Drawing.Point(3, 494);
			this.Controls.Add(this.uxNabavnaVrijednostLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNabavnaVrijednostLabel);			
			//
			// uxNabavnaVrijednost
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxNabavnaVrijednost);
			this.uxNabavnaVrijednost.Location = new System.Drawing.Point(160, 494);
			this.Controls.Add(this.uxNabavnaVrijednost);
			//
			// uxPorezNabavneVrijednostiLabel
			//
			this.uxPorezNabavneVrijednostiLabel.Text = "PorezNabavneVrijednosti:";
			this.uxPorezNabavneVrijednostiLabel.Location = new System.Drawing.Point(3, 520);
			this.Controls.Add(this.uxPorezNabavneVrijednostiLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxPorezNabavneVrijednostiLabel);			
			//
			// uxPorezNabavneVrijednosti
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxPorezNabavneVrijednosti);
			this.uxPorezNabavneVrijednosti.Location = new System.Drawing.Point(160, 520);
			this.Controls.Add(this.uxPorezNabavneVrijednosti);
			//
			// uxIDStatusLabel
			//
			this.uxIDStatusLabel.Text = "IDStatus:";
			this.uxIDStatusLabel.Location = new System.Drawing.Point(3, 546);
			this.Controls.Add(this.uxIDStatusLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDStatusLabel);			
			//
			// uxIDStatus
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDStatus);
			this.uxIDStatus.Location = new System.Drawing.Point(160, 546);
			this.Controls.Add(this.uxIDStatus);
			//
			// uxIDValuteLabel
			//
			this.uxIDValuteLabel.Text = "IDValute:";
			this.uxIDValuteLabel.Location = new System.Drawing.Point(3, 572);
			this.Controls.Add(this.uxIDValuteLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDValuteLabel);			
			//
			// uxIDValute
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDValute);
			this.uxIDValute.Location = new System.Drawing.Point(160, 572);
			this.Controls.Add(this.uxIDValute);
			//
			// uxVezaDokumentaLabel
			//
			this.uxVezaDokumentaLabel.Text = "VezaDokumenta:";
			this.uxVezaDokumentaLabel.Location = new System.Drawing.Point(3, 598);
			this.Controls.Add(this.uxVezaDokumentaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxVezaDokumentaLabel);			
			//
			// uxVezaDokumenta
			//
			this.uxVezaDokumenta.Width = 250;
			this.uxVezaDokumenta.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxVezaDokumenta);
			this.uxVezaDokumenta.Location = new System.Drawing.Point(160, 598);
			this.Controls.Add(this.uxVezaDokumenta);
			//
			// uxIDOrganizacijaZiroRacunLabel
			//
			this.uxIDOrganizacijaZiroRacunLabel.Text = "IDOrganizacijaZiroRacun:";
			this.uxIDOrganizacijaZiroRacunLabel.Location = new System.Drawing.Point(3, 624);
			this.Controls.Add(this.uxIDOrganizacijaZiroRacunLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaZiroRacunLabel);			
			//
			// uxIDOrganizacijaZiroRacun
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDOrganizacijaZiroRacun);
			this.uxIDOrganizacijaZiroRacun.Location = new System.Drawing.Point(160, 624);
			this.Controls.Add(this.uxIDOrganizacijaZiroRacun);
			//
			// uxDokumentMijenjaCijenuLabel
			//
			this.uxDokumentMijenjaCijenuLabel.Text = "DokumentMijenjaCijenu:";
			this.uxDokumentMijenjaCijenuLabel.Location = new System.Drawing.Point(3, 650);
			this.Controls.Add(this.uxDokumentMijenjaCijenuLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDokumentMijenjaCijenuLabel);			
			//
			// uxDokumentMijenjaCijenu
			//
			this.uxDokumentMijenjaCijenu.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDokumentMijenjaCijenu);
			this.uxDokumentMijenjaCijenu.Location = new System.Drawing.Point(160, 650);
			this.Controls.Add(this.uxDokumentMijenjaCijenu);
			//
			// uxIDUserPrimio
			//				
			this.uxIDUserPrimio.DisplayMember = "Naziv";	
			this.uxIDUserPrimio.ValueMember = "ID";	
			//
			// uxIDUserIzdao
			//				
			this.uxIDUserIzdao.DisplayMember = "Naziv";	
			this.uxIDUserIzdao.ValueMember = "ID";	
			//
			// uxIDDokumentTip
			//				
			this.uxIDDokumentTip.DisplayMember = "Naziv";	
			this.uxIDDokumentTip.ValueMember = "ID";	
			//
			// uxIDKlijent
			//				
			this.uxIDKlijent.DisplayMember = "ImeKlijenta";	
			this.uxIDKlijent.ValueMember = "ID";	
			//
			// uxIDNacinTransporta
			//				
			this.uxIDNacinTransporta.DisplayMember = "Naziv";	
			this.uxIDNacinTransporta.ValueMember = "ID";	
			//
			// uxIDNacinPlacanja
			//				
			this.uxIDNacinPlacanja.DisplayMember = "Naziv";	
			this.uxIDNacinPlacanja.ValueMember = "ID";	
			//
			// uxIDOrganizacijaOd
			//				
			this.uxIDOrganizacijaOd.DisplayMember = "Naziv";	
			this.uxIDOrganizacijaOd.ValueMember = "ID";	
			//
			// uxIDOrganizacijaPrema
			//				
			this.uxIDOrganizacijaPrema.DisplayMember = "Naziv";	
			this.uxIDOrganizacijaPrema.ValueMember = "ID";	
			//
			// uxIDOrganizacijaZiroRacun
			//				
			this.uxIDOrganizacijaZiroRacun.DisplayMember = "IDOrganizacija";	
			this.uxIDOrganizacijaZiroRacun.ValueMember = "ID";	
			//
			// uxIDValute
			//				
			this.uxIDValute.DisplayMember = "Naziv";	
			this.uxIDValute.ValueMember = "ID";	
			// 
			// DokumentEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "DokumentEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.Djelatnik> _IDUserPrimioList;
		
		/// <summary>
		/// The ComboBox associated with the IDUserPrimio property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Djelatnik> IDUserPrimioList
		{
			get {return _IDUserPrimioList;}
			set 
			{
				this._IDUserPrimioList = value;
				this.uxIDUserPrimio.DataSource = null;
				this.uxIDUserPrimio.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDUserPrimioList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDUserPrimio property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDUserPrimioList
		{
			get { return _allowNewItemInIDUserPrimioList;}
			set
			{
				this._allowNewItemInIDUserPrimioList = value;
				this.uxIDUserPrimio.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Djelatnik> _IDUserIzdaoList;
		
		/// <summary>
		/// The ComboBox associated with the IDUserIzdao property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Djelatnik> IDUserIzdaoList
		{
			get {return _IDUserIzdaoList;}
			set 
			{
				this._IDUserIzdaoList = value;
				this.uxIDUserIzdao.DataSource = null;
				this.uxIDUserIzdao.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDUserIzdaoList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDUserIzdao property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDUserIzdaoList
		{
			get { return _allowNewItemInIDUserIzdaoList;}
			set
			{
				this._allowNewItemInIDUserIzdaoList = value;
				this.uxIDUserIzdao.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.DokumentTip> _IDDokumentTipList;
		
		/// <summary>
		/// The ComboBox associated with the IDDokumentTip property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.DokumentTip> IDDokumentTipList
		{
			get {return _IDDokumentTipList;}
			set 
			{
				this._IDDokumentTipList = value;
				this.uxIDDokumentTip.DataSource = null;
				this.uxIDDokumentTip.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDDokumentTipList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDDokumentTip property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDDokumentTipList
		{
			get { return _allowNewItemInIDDokumentTipList;}
			set
			{
				this._allowNewItemInIDDokumentTipList = value;
				this.uxIDDokumentTip.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Klijent> _IDKlijentList;
		
		/// <summary>
		/// The ComboBox associated with the IDKlijent property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Klijent> IDKlijentList
		{
			get {return _IDKlijentList;}
			set 
			{
				this._IDKlijentList = value;
				this.uxIDKlijent.DataSource = null;
				this.uxIDKlijent.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDKlijentList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDKlijent property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDKlijentList
		{
			get { return _allowNewItemInIDKlijentList;}
			set
			{
				this._allowNewItemInIDKlijentList = value;
				this.uxIDKlijent.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.NacinTransporta> _IDNacinTransportaList;
		
		/// <summary>
		/// The ComboBox associated with the IDNacinTransporta property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.NacinTransporta> IDNacinTransportaList
		{
			get {return _IDNacinTransportaList;}
			set 
			{
				this._IDNacinTransportaList = value;
				this.uxIDNacinTransporta.DataSource = null;
				this.uxIDNacinTransporta.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDNacinTransportaList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDNacinTransporta property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDNacinTransportaList
		{
			get { return _allowNewItemInIDNacinTransportaList;}
			set
			{
				this._allowNewItemInIDNacinTransportaList = value;
				this.uxIDNacinTransporta.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.NacinPlacanja> _IDNacinPlacanjaList;
		
		/// <summary>
		/// The ComboBox associated with the IDNacinPlacanja property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.NacinPlacanja> IDNacinPlacanjaList
		{
			get {return _IDNacinPlacanjaList;}
			set 
			{
				this._IDNacinPlacanjaList = value;
				this.uxIDNacinPlacanja.DataSource = null;
				this.uxIDNacinPlacanja.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDNacinPlacanjaList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDNacinPlacanja property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDNacinPlacanjaList
		{
			get { return _allowNewItemInIDNacinPlacanjaList;}
			set
			{
				this._allowNewItemInIDNacinPlacanjaList = value;
				this.uxIDNacinPlacanja.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Organizacija> _IDOrganizacijaOdList;
		
		/// <summary>
		/// The ComboBox associated with the IDOrganizacijaOd property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Organizacija> IDOrganizacijaOdList
		{
			get {return _IDOrganizacijaOdList;}
			set 
			{
				this._IDOrganizacijaOdList = value;
				this.uxIDOrganizacijaOd.DataSource = null;
				this.uxIDOrganizacijaOd.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDOrganizacijaOdList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDOrganizacijaOd property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDOrganizacijaOdList
		{
			get { return _allowNewItemInIDOrganizacijaOdList;}
			set
			{
				this._allowNewItemInIDOrganizacijaOdList = value;
				this.uxIDOrganizacijaOd.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Organizacija> _IDOrganizacijaPremaList;
		
		/// <summary>
		/// The ComboBox associated with the IDOrganizacijaPrema property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Organizacija> IDOrganizacijaPremaList
		{
			get {return _IDOrganizacijaPremaList;}
			set 
			{
				this._IDOrganizacijaPremaList = value;
				this.uxIDOrganizacijaPrema.DataSource = null;
				this.uxIDOrganizacijaPrema.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDOrganizacijaPremaList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDOrganizacijaPrema property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDOrganizacijaPremaList
		{
			get { return _allowNewItemInIDOrganizacijaPremaList;}
			set
			{
				this._allowNewItemInIDOrganizacijaPremaList = value;
				this.uxIDOrganizacijaPrema.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.OrganizacijaZiroRacun> _IDOrganizacijaZiroRacunList;
		
		/// <summary>
		/// The ComboBox associated with the IDOrganizacijaZiroRacun property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.OrganizacijaZiroRacun> IDOrganizacijaZiroRacunList
		{
			get {return _IDOrganizacijaZiroRacunList;}
			set 
			{
				this._IDOrganizacijaZiroRacunList = value;
				this.uxIDOrganizacijaZiroRacun.DataSource = null;
				this.uxIDOrganizacijaZiroRacun.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDOrganizacijaZiroRacunList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDOrganizacijaZiroRacun property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDOrganizacijaZiroRacunList
		{
			get { return _allowNewItemInIDOrganizacijaZiroRacunList;}
			set
			{
				this._allowNewItemInIDOrganizacijaZiroRacunList = value;
				this.uxIDOrganizacijaZiroRacun.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Valuta> _IDValuteList;
		
		/// <summary>
		/// The ComboBox associated with the IDValute property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Valuta> IDValuteList
		{
			get {return _IDValuteList;}
			set 
			{
				this._IDValuteList = value;
				this.uxIDValute.DataSource = null;
				this.uxIDValute.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDValuteList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDValute property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDValuteList
		{
			get { return _allowNewItemInIDValuteList;}
			set
			{
				this._allowNewItemInIDValuteList = value;
				this.uxIDValute.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
